{% if comment_list %}
<hr/>
<p style="font-style: oblique;">评论列表:</p>
{% endif %}
<div class="comment">
    <!--    评论列表-->
    <ul class="list-group">
        {% for comment in comment_list %}
        <li class="list-group-item">
            <div class="nickname">
                <a href="{{ comment.website }}">{{ comment.nickname }}</a>
                <span>{{ comment.created_time }} :</span>
            </div>

            <div class="comment-content">
                {% autoescape off %}
                {{ comment.content }}
                {% endautoescape %}
            </div>
        </li>
        {% endfor %}
    </ul>

<hr/>
        <form class="form-group" action="/comment/" method="POST">
            {% csrf_token %}
            <input name="target" type="hidden" value="{{ target }}">

            {{ comment_form }}
            <input type="submit" value="OK">
        </form>

</div>